<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.text.SimpleDateFormat" %>

<div id="header">
    <div class="main-top">
        <div class="logo"><a href="#"><span>新闻大视野</span></a></div>
        <div class="nav">
            <ul class="clearfix">
                <li><a href="#"
                       target="_parent">首页</a></li>
                <li><a href="#">国内</a></li>
                <li><a href="#">国际</a></li>
                <li><a href="#">娱乐</a></li>
                <li><a href="#">军事</a></li>
            </ul>
        </div>
    </div>
    <!--banner-->
    <div class="main-banner"><img src="<%=request.getContextPath()%>/static/images/banner.png" />
    </div>
    <!--管理工具栏-->
    <div class="admin-bar">
        <span class="fr" style="cursor:pointer;"
              onclick="javaScript:if(confirm('您确认退出吗？')){}">退出账户</span>
        管理员：${userLogin!=null?userLogin:"无"}&emsp;
        <%=new SimpleDateFormat("yyyy-MM-dd").format(new Date())%>
    </div>
</div>